package com.qst.system.mapper;

import com.qst.system.domain.vo.MaterialsVo;

import java.util.List;

public interface MaterialsMapper {

    List<MaterialsVo> selectMaterialsList(MaterialsVo materials);

    MaterialsVo selectMaterialsById(Long lisId);

    int insertMaterials(MaterialsVo materials);

    int updateMaterials(MaterialsVo materials);

    int deleteMaterialsById(Long lisId);

    int deleteMaterialsByIds(Long[] lisIds);
    
    // 根据企业名称查找企业ID
    Long selectCompanyIdByName(String comName);
    
    // 根据贷款编号查找贷款ID
    Long selectLoanIdByNo(String loaNo);

}